package com.fastloan.safe.mgt.root.service;

import com.fastloan.safe.mgt.root.model.CmDefRole;
import com.kawins.base.BaseService;

public interface CmDefRoleService extends BaseService<CmDefRole> {

    /**
     * 新增默认角色
     *
     * @param cmDefRole
     * @param defFunIds
     * @return
     */
    void insertWithFun(CmDefRole cmDefRole, String[] defFunIds);

    /**
     * 更新默认角色
     *
     * @param cmDefRole
     * @param defFunIds
     * @return
     */
    void updateWithFun(CmDefRole cmDefRole, String[] defFunIds);
}
